//
//  CameraViewController.h
//  carSecretary
//
//  Created by huangliru on 14-9-9.
//  Copyright (c) 2014年 huangliru. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>
@interface CameraViewController : UIViewController

//前
@property (strong, nonatomic) UIButton *front;
//后
@property (strong, nonatomic) UIButton *behind;
//左
@property (strong, nonatomic) UIButton *left;
//右
@property (strong, nonatomic) UIButton *right;
//控制播放暂停按钮
@property (strong, nonatomic) UIButton *playButton;
// 播放状态
@property (assign, nonatomic) BOOL isPlay;

// 创建视频播放器
@property (strong, nonatomic) MPMoviePlayerController *moviePlayer;

// 播放前置摄像头视频
-(void)playFront;
// 播放后置摄像头视频
-(void)playbehind;
// 播放左置摄像头视频
-(void)playleft;
// 播放右置摄像头视频
-(void)playright;

// 播放按钮事件
-(void)playAndPauseBtnPress;
// 导航栏返回按钮
-(void)backButton;
@end
